package com.example.listening.examsdk.core;

import java.io.File;

/**
 * Created by tong on 15/12/16.
 */
public class MediaItem {
    private File mp3File;

    private int replay;

    private int delaySecond;

    public MediaItem(File mp3File) {
        this.mp3File = mp3File;
    }

    public MediaItem(File mp3File, int replay, int delaySecond) {
        this.mp3File = mp3File;
        this.replay = replay;
        this.delaySecond = delaySecond;
    }

    public File getMp3File() {
        return mp3File;
    }

    public void setMp3File(File mp3File) {
        this.mp3File = mp3File;
    }

    public int getReplay() {
        return replay;
    }

    public void setReplay(int replay) {
        this.replay = replay;
    }

    public int getDelaySecond() {
        return delaySecond;
    }

    public void setDelaySecond(int delaySecond) {
        this.delaySecond = delaySecond;
    }

    @Override
    public String toString() {
        return "MediaItem{" +
                "mp3File=" + mp3File +
                ", replay=" + replay +
                ", delaySecond=" + delaySecond +
                '}';
    }
}
